package com.hh.game.service.gateway.filter.statistics;

import java.util.TreeMap;
import java.util.concurrent.atomic.LongAdder;

public class StatisticsInfo {
    private int connctions;
    private long time;
    private TreeMap<Long, LongAdder> qps;

    public int getConnctions() {
        return connctions;
    }

    public void setConnctions(int connctions) {
        this.connctions = connctions;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public TreeMap<Long, LongAdder> getQps() {
        return qps;
    }

    public void setQps(TreeMap<Long, LongAdder> qps) {
        this.qps = qps;
    }

    @Override
    public String toString() {
        return "StatisticsInfo{" +
                "connctions=" + connctions +
                ", time=" + time +
                ", qps=" + qps +
                '}';
    }
}
